<?php $this->load->helper("local");?>
<div id="menu">
			<ul>
				<li><a <?php echo getCurrentMenu('home');?> href="<?php echo base_url(); ?>home">Customer Load List </a></li>
				<li><a <?php echo getCurrentMenu('aboutus');?> href="<?php echo base_url(); ?>aboutus" >Driver Load List </a></li>
				<li><a <?php echo getCurrentMenu('acmser');?> href="<?php echo base_url(); ?>acmser" >Driver Balance List</a></li>
			    <?php if(!isset($_SESSION['log']))
					{
				?>
                
                <li><a <?php echo getCurrentMenu('login');?> href="<?php echo base_url(); ?>login" >Log In</a></li>
               	<?php
				}
				else
				{
				?>
                <li><a <?php echo getCurrentMenu('logout');?> href="<?php echo base_url(); ?>Logout" >Log Out</a></li>
				<?php	
				}
                ?>
				
			</ul>
</div>




<?php
// the original main header
$ambot=''; 
$ambot=0;
if($ambot==1)
{
?>
<?php $this->load->helper("local");?>
<div id="menu">
			<ul>
				<li><a <?php echo getCurrentMenu('home');?> href="<?php echo my_url(); ?>home">Customer Load List </a></li>
				<li><a <?php echo getCurrentMenu('aboutus');?> href="<?php echo my_url(); ?>aboutus" >Driver Load List </a></li>
				<li><a <?php echo getCurrentMenu('acmser');?> href="<?php echo my_url(); ?>acmser" >Driver Balance List</a></li>				
			</ul>
</div>
<?php
}
?>